﻿<UserControl x:Class="Neudesic.AzureStorageExplorer.Controls.TreeItem"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300"
             Name="TreeItemWindow" 
             HorizontalAlignment="Left">
    <Grid>
        <StackPanel Orientation="Horizontal" >
            <Image Source="{Binding ElementName=TreeItemWindow, Path=Image}" 
                   Width="26"
                   Margin="0,0,8,0"
                        />
            <TextBlock Text="{Binding ElementName=TreeItemWindow, Path=Text}" 
                       FontFamily="Calibri" FontSize="12"
                       VerticalAlignment="Center"
                       />
        </StackPanel>
    </Grid>
</UserControl>
